//
// Parse.hpp for  in /home/goldbe_y//cpp/Maths/206observ
//
// Made by yoni goldberg
// Login   <goldbe_y@epitech.net>
//
// Started on  Mon May  2 15:04:14 2011 yoni goldberg
// Last update Mon Sep 24 11:01:52 2012 yoni goldberg
//

#ifndef __PARSE_H__
# define __PARSE_H__

#include <vector>
#include <fstream>
#include <string>
#include <iostream>


class Parse
{
public:
  Parse(const std::string &);
  ~Parse();

  std::vector<std::string>	&get_from_file();

  std::vector<float>		&getcoef() {return coef;};
  std::vector<float>		&getval() {return val;};

  int				getLine() const {return line;};
private:

  void		filltabs(const std::string &);

  std::vector<std::string>	tab;
  std::vector<float>		val;
  std::vector<float>		coef;

  int				line;
};


#endif /* !__PARSE_H__ */
